package com.woniu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.pojo.Member;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.MemberQueryVo;
import com.woniu.vo.QueryCardVo;
import com.woniu.vo.QueryMemberLevelCoachVo;
import com.woniu.vo.QueryMemberVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xie
 * @since 2022-10-12
 */
public interface MemberMapper extends BaseMapper<Member> {

    Page<QueryMemberVo> selectByItemInPage(IPage ipage, @Param("vo")MemberQueryVo vo);

    List<QueryCardVo> selectCardById(String id);

    QueryMemberLevelCoachVo selectMemberLevelCoachById(String id);

    String selectMemberId(String tel);
}
